/**
 * 
 */
package ganga.custodian;

import ganga.sportsman.Application;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;

/**
 * Utility. Unclassified methods container
 * 
 * @author Apocrypha
 */
public class Helper {
	/**
	 * Show message by pop-up toast for a short period of time.
	 * 
	 * @param message
	 *            what to show
	 */
	public static void showToast(String message) {
		Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
	}

	public static void log(String message) {
		if (DEBUG)
			Log.i(TAG, message);
	}

	public static final boolean DEBUG = false;// true;
	public static final String TAG = "Custodian";

	private static Context context = Application.getInstance();;
}
